import type { Contact } from '../models/contact'

export type CreateContactReq = {}
export type CreateContactRes = {}

export interface IContactRepo {
  create(contact: CreateContactReq): Promise<CreateContactRes>
  delete(id: string): Promise<boolean>
  getAll(): Promise<Contact[]>
  getById(id: string): Promise<Contact | null>
  update(contact: Contact): Promise<Contact>
}
